// api.js
import request from '@/utils/request.js';
import { createRouter, createWebHistory } from 'vue-router';



//Post的示例代码  也是登录
export const getUserInfo = () => {
    return request({
        url: '/users/getUserInfo'
    });
};

//updateSex
export const updateSex = (data) => {
    return request({
        url: '/users/updateSex',
		method: 'PUT',
		data
    });
};